package com.cssy.xxkj.logic.dao;

import java.util.List;
import java.util.Map;

import com.cssy.xxkj.logic.entity.LogicAllocatInwhItemDO;
import com.plat.exception.SyBaseException;

/**
 * 数据访问对象接口
 * @since 2014-09-27
 */
public interface LogicAllocatInwhItemDAO {

    /**
     * 插入数据
     * @param logicAllocatInwhItemDO
     * @return 插入数据的主键
     */
    public String insertLogicAllocatInwhItemDO(LogicAllocatInwhItemDO logicAllocatInwhItemDO);

    /**
     * 统计记录数
     * @param logicAllocatInwhItemDO
     * @return 查出的记录数
     */
    public Integer countLogicAllocatInwhItemDOByExample(LogicAllocatInwhItemDO logicAllocatInwhItemDO);

    /**
     * 更新记录
     * @param logicAllocatInwhItemDO
     * @return 受影响的行数
     */
    public Integer updateLogicAllocatInwhItemDO(LogicAllocatInwhItemDO logicAllocatInwhItemDO);

    /**
     * 获取对象列表
     * @param logicAllocatInwhItemDO
     * @return 对象列表
     */
    public List<LogicAllocatInwhItemDO> findListByExample(LogicAllocatInwhItemDO logicAllocatInwhItemDO);
    
    public List<LogicAllocatInwhItemDO> findListByMap(Map<String, Object> paramMap)throws SyBaseException;

    /**
     * 根据主键获取logicAllocatInwhItemDO
     * @param id
     * @return logicAllocatInwhItemDO
     */
    public LogicAllocatInwhItemDO findLogicAllocatInwhItemDOByPrimaryKey(String id);

    /**
     * 删除记录
     * @param id
     * @return 受影响的行数
     */
    public Integer deleteLogicAllocatInwhItemDOByPrimaryKey(String id);

}